package com.sinsoft.monitorDemo.entity;
//阈值实体类
public class Threshold {
	private Integer cpuUsed;//系统CPU占用
	private Integer cpuIowait;//系统IOwait
	private Integer memUsed;//系统内存占用
	private Integer swapUsed;//系统swap占用
	private Integer diskUsed;//系统磁盘占用
	private String portStatus;//端口状态
	private String service;//服务状态
	private Integer tomcatCpuUsed;//tomcatCpu占用
	private Integer tomcatMemUsed;//tomcat内存占用
	private Integer nginxCpuUsed;//nginxCpu占用
	private Integer nginxMemUsed;//nginx内存占用
	private Integer mysqlCpuUsed;//mysqlCpu占用
	private Integer mysqlMemUsed;//mysql内存占用
	private Integer oracleTmpfsUsed;//oracleTmpfs占用
	private String oracleCrs;//oracleCrs状态
	private String oracleAsm;//oracleAsm状态
	private String oracleDiskGrop;//oracle磁盘组端口状态
	private String oracleListen;//oracle监听服务状态
	private String oracleNetVip;//oracle网络状态
	private String oracleInstance;//oracle实例运行状态
	private String oracleDataBase;//oracleAsm状态
	private Integer oracletablespaceused;//oracle表空间使用率
	public Threshold() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Threshold(Integer cpuUsed, Integer cpuIowait, Integer memUsed,
			Integer swapUsed, Integer diskUsed, String portStatus,
			String service, Integer tomcatCpuUsed, Integer tomcatMemUsed,
			Integer nginxCpuUsed, Integer nginxMemUsed, Integer mysqlCpuUsed,
			Integer mysqlMemUsed, Integer oracleTmpfsUsed, String oracleCrs,
			String oracleAsm, String oracleDiskGrop, String oracleListen,
			String oracleNetVip, String oracleInstance, String oracleDataBase,
			Integer oracletablespaceused) {
		super();
		this.cpuUsed = cpuUsed;
		this.cpuIowait = cpuIowait;
		this.memUsed = memUsed;
		this.swapUsed = swapUsed;
		this.diskUsed = diskUsed;
		this.portStatus = portStatus;
		this.service = service;
		this.tomcatCpuUsed = tomcatCpuUsed;
		this.tomcatMemUsed = tomcatMemUsed;
		this.nginxCpuUsed = nginxCpuUsed;
		this.nginxMemUsed = nginxMemUsed;
		this.mysqlCpuUsed = mysqlCpuUsed;
		this.mysqlMemUsed = mysqlMemUsed;
		this.oracleTmpfsUsed = oracleTmpfsUsed;
		this.oracleCrs = oracleCrs;
		this.oracleAsm = oracleAsm;
		this.oracleDiskGrop = oracleDiskGrop;
		this.oracleListen = oracleListen;
		this.oracleNetVip = oracleNetVip;
		this.oracleInstance = oracleInstance;
		this.oracleDataBase = oracleDataBase;
		this.oracletablespaceused = oracletablespaceused;
	}
	public Integer getCpuUsed() {
		return cpuUsed;
	}
	public void setCpuUsed(Integer cpuUsed) {
		this.cpuUsed = cpuUsed;
	}
	public Integer getCpuIowait() {
		return cpuIowait;
	}
	public void setCpuIowait(Integer cpuIowait) {
		this.cpuIowait = cpuIowait;
	}
	public Integer getMemUsed() {
		return memUsed;
	}
	public void setMemUsed(Integer memUsed) {
		this.memUsed = memUsed;
	}
	public Integer getSwapUsed() {
		return swapUsed;
	}
	public void setSwapUsed(Integer swapUsed) {
		this.swapUsed = swapUsed;
	}
	public Integer getDiskUsed() {
		return diskUsed;
	}
	public void setDiskUsed(Integer diskUsed) {
		this.diskUsed = diskUsed;
	}
	public String getPortStatus() {
		return portStatus;
	}
	public void setPortStatus(String portStatus) {
		this.portStatus = portStatus;
	}
	public String getService() {
		return service;
	}
	public void setService(String service) {
		this.service = service;
	}
	public Integer getTomcatCpuUsed() {
		return tomcatCpuUsed;
	}
	public void setTomcatCpuUsed(Integer tomcatCpuUsed) {
		this.tomcatCpuUsed = tomcatCpuUsed;
	}
	public Integer getTomcatMemUsed() {
		return tomcatMemUsed;
	}
	public void setTomcatMemUsed(Integer tomcatMemUsed) {
		this.tomcatMemUsed = tomcatMemUsed;
	}
	public Integer getNginxCpuUsed() {
		return nginxCpuUsed;
	}
	public void setNginxCpuUsed(Integer nginxCpuUsed) {
		this.nginxCpuUsed = nginxCpuUsed;
	}
	public Integer getNginxMemUsed() {
		return nginxMemUsed;
	}
	public void setNginxMemUsed(Integer nginxMemUsed) {
		this.nginxMemUsed = nginxMemUsed;
	}
	public Integer getMysqlCpuUsed() {
		return mysqlCpuUsed;
	}
	public void setMysqlCpuUsed(Integer mysqlCpuUsed) {
		this.mysqlCpuUsed = mysqlCpuUsed;
	}
	public Integer getMysqlMemUsed() {
		return mysqlMemUsed;
	}
	public void setMysqlMemUsed(Integer mysqlMemUsed) {
		this.mysqlMemUsed = mysqlMemUsed;
	}
	public Integer getOracleTmpfsUsed() {
		return oracleTmpfsUsed;
	}
	public void setOracleTmpfsUsed(Integer oracleTmpfsUsed) {
		this.oracleTmpfsUsed = oracleTmpfsUsed;
	}
	public String getOracleCrs() {
		return oracleCrs;
	}
	public void setOracleCrs(String oracleCrs) {
		this.oracleCrs = oracleCrs;
	}
	public String getOracleAsm() {
		return oracleAsm;
	}
	public void setOracleAsm(String oracleAsm) {
		this.oracleAsm = oracleAsm;
	}
	public String getOracleDiskGrop() {
		return oracleDiskGrop;
	}
	public void setOracleDiskGrop(String oracleDiskGrop) {
		this.oracleDiskGrop = oracleDiskGrop;
	}
	public String getOracleListen() {
		return oracleListen;
	}
	public void setOracleListen(String oracleListen) {
		this.oracleListen = oracleListen;
	}
	public String getOracleNetVip() {
		return oracleNetVip;
	}
	public void setOracleNetVip(String oracleNetVip) {
		this.oracleNetVip = oracleNetVip;
	}
	public String getOracleInstance() {
		return oracleInstance;
	}
	public void setOracleInstance(String oracleInstance) {
		this.oracleInstance = oracleInstance;
	}
	public String getOracleDataBase() {
		return oracleDataBase;
	}
	public void setOracleDataBase(String oracleDataBase) {
		this.oracleDataBase = oracleDataBase;
	}
	public Integer getOracletablespaceused() {
		return oracletablespaceused;
	}
	public void setOracletablespaceused(Integer oracletablespaceused) {
		this.oracletablespaceused = oracletablespaceused;
	}
	@Override
	public String toString() {
		return "Threshold [cpuUsed=" + cpuUsed + ", cpuIowait=" + cpuIowait
				+ ", memUsed=" + memUsed + ", swapUsed=" + swapUsed
				+ ", diskUsed=" + diskUsed + ", portStatus=" + portStatus
				+ ", service=" + service + ", tomcatCpuUsed=" + tomcatCpuUsed
				+ ", tomcatMemUsed=" + tomcatMemUsed + ", nginxCpuUsed="
				+ nginxCpuUsed + ", nginxMemUsed=" + nginxMemUsed
				+ ", mysqlCpuUsed=" + mysqlCpuUsed + ", mysqlMemUsed="
				+ mysqlMemUsed + ", oracleTmpfsUsed=" + oracleTmpfsUsed
				+ ", oracleCrs=" + oracleCrs + ", oracleAsm=" + oracleAsm
				+ ", oracleDiskGrop=" + oracleDiskGrop + ", oracleListen="
				+ oracleListen + ", oracleNetVip=" + oracleNetVip
				+ ", oracleInstance=" + oracleInstance + ", oracleDataBase="
				+ oracleDataBase + ", oracletablespaceused="
				+ oracletablespaceused + "]";
	}
	
	
	
}
